package org.docmanagement.services;

import org.docmanagement.data.Category;
import org.docmanagement.data.File;

/**
 * Created on 10 nov. 2004
 * @author eveno
 */
public interface RepositoryService
{
    public String getFilePath(File f) throws RepositoryException;
    public void addFile(File f) throws RepositoryException;
    public void updateFile(File f) throws RepositoryException;
    public void moveDirectory(Category oldParent, Category newParent, Category category) throws RepositoryException;
    public void updateDirectoryForCategory(String oldName, Category category) throws RepositoryException;
    public void removeFile(File f) throws RepositoryException;
    public java.io.File[] searchFiles(Category cat) throws RepositoryException;
}
